package com.xgimi.open.skill.datamanager.biz.service;

import com.xgimi.open.skill.datamanager.service.request.BatchWordStockReqDTO;
import com.xgimi.open.skill.datamanager.service.request.EntryHandleReqDTO;
import com.xgimi.open.skill.datamanager.service.request.WordStockReqDTO;
import com.xgimi.open.skill.datamanager.service.response.WordEntryDTO;
import com.xgimi.open.skill.datamanager.service.response.WordStockRespDTO;
import com.xgimi.open.skill.datamanager.service.response.WordStockRespDTO2;
import com.xgimi.open.skill.datamanager.service.response.page.PageResult;

import java.util.List;

/**
 * @author coderzpw.zhang
 * @version 1.0
 * @description 描述
 * @date 2023/2/8 14:32
 */
public interface WordStockBizService {
    Boolean addWordStock(WordStockReqDTO wordStockReqDTO);

    List<WordStockRespDTO2> list(WordStockReqDTO wordStockReqDTO);

    List<WordStockRespDTO> listBySkillVid(Long skillVid);

    Boolean deleteWordStock(WordStockReqDTO wordStockReqDTO);

    Boolean updateWordStock(WordStockReqDTO wordStockReqDTO);

    Boolean batchCreate(BatchWordStockReqDTO batchWordStockReqDTO);

    PageResult<WordStockRespDTO2> pageQuery(WordStockReqDTO wordStockReqDTO);

    WordStockRespDTO queryById(Long id);
    List<WordEntryDTO> queryById2(Long id, String value);

    Boolean handleEntry(EntryHandleReqDTO entryHandleReqDTO);
}
